<!--{subtemplate jameson_read:touch/header}-->
<div class="header">
  <div class="weui-flex">
    <div class="weui-flex__item header_left" onclick="javascript:history.go(-1);">
      <i class="fa fa-chevron-left"></i>
    </div>
    <div class="weui-flex__item header_title">
    <!--{$category_name}-->
    </div>
    <div class="flex-2 weui-flex__item header_right">
      <a href="{eval echo mbreurl('search',0);}">
        <i class="fa fa-search"></i>
      </a>
      <a href="javascript:;" class="open-popup" data-target="#bottomtab">
        <i class="fa fa-fw fa-bars"></i>
      </a>
    </div>
  </div>
</div>
<!--{if $indexadv[0]['adv']}-->
<div class="weui-panel weui-media-box zdyadv">
  <div class="weui-panel__bd">
    <!--{eval echo stripcslashes($indexadv[0]['adv']);}-->
  </div>
</div>
<!--{/if}-->
<div class="weui-panel weui-panel_access">
  {if $thecate['parent_id']<1}
    <div class="fenleicate">
      <!--{loop $categorys[$category_id]['sub'] $cid $sub}-->
        <a class="weui-btn weui-btn_default weui-btn_mini" href="{eval echo mbreurl('category',$sub['category_id']);}">
        <!--{$sub['category_name']}-->
        </a>
      <!--{/loop}-->
    </div>
  {/if}
  <!--{if $books}-->
  <div class="weui-panel__bd">
  <!--{loop $books $key $book}-->
      <a href="{eval echo mbreurl('book',$book['book_id']);}" class="weui-media-box weui-media-box_appmsg">
        <div class="weui-media-box__hd">
          <img class="weui-media-box__thumb" src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}">
        </div>
        <div class="weui-media-box__bd">
          <h4 class="weui-media-box__title">
          <!--{$book['book_name']}-->
          </h4>
          <p class="weui-media-box__desc">
          <!--{$book['desco']}-->
          </p>
          <p class="weui-media-box__desc cl listmeta"> 
            <span class="z">
            <!--{$book['author']}-->
            </span>
            <span  class="y">
            <!--{$book['category_name']}-->
            </span>
          </p>
        </div>
      </a>
    <!--{/loop}-->
    </div>
  <!--{/if}-->
    <div class="weui-panel__ft">
          <div class="weui-cell__bd">
            <div class="weui-flex">
              <!--{if $books}-->
              <!--{$pageshow}-->
              <!--{else}-->
              <h2 class="weui-cells__title">
              <!--{lang jameson_read:zanwujilu}-->
              </h2>
              <!--{/if}-->
            </div>
          </div>
          <span class="weui-cell__ft"></span>
    </div>
</div>
<!--{if $indexadv[1]['adv']}-->
<div class="weui-panel weui-media-box zdyadv">
  <div class="weui-panel__bd">
    <!--{eval echo stripcslashes($indexadv[1]['adv']);}-->
  </div>
</div>
<!--{/if}-->
<!--{subtemplate jameson_read:touch/footer}-->